
/* 
 * templateName: one
 * @author: web唐明明
 * @time: 2021年10月11日 21点46分
 * @version 1.0.0 
 */

body{
    font-size: 14px;
    padding: 0;
    margin: 0;
}

a{
    display: block;
}

input{  
	outline: none;
}

.mian{
    overflow: hidden;
    min-height: 100vh;
    background: white;
}

.footer + .mian{
    padding-bottom: 60px;
}

/* 公共裁剪 */
.ellipsis {
    max-width: 100%;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.ellipsis-2{
	max-width: 100%;
	display: -webkit-box;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

/* 首页title */
.block-title{
    padding: 20px 15px 15px;
    font-size: 12px;
    color: #333;
}

.block-title b{
    font-size: 20px;
}

/* 首页 - 轮播图 */

.index-banner{
    width: 100%;
    padding-top: 39%;
    position: relative;
    margin: 15px auto 0;
}

.swiper-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #ddd;
    width: 85%;
    padding-top: calc(39% - 20px);
    margin-top: 10px;
    transition: all .5s;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
}

.swiper-slide-active{
    padding-top: 39%;
    margin: 0;
}

.swiper-banner-pages{
    text-align: center;
}

.swiper-banner-pages span{
    margin: 0 3px;
    transition: all .3;
}

.swiper-banner-pages span.swiper-pagination-bullet{
    height: 5px;
    width: 5px;
    background: #AFAFAF;
    border-radius: 3px;
}

.swiper-banner-pages span.swiper-pagination-bullet.swiper-pagination-bullet-active{
    width: 10px;
    background: #976FFF;
}

/* 首页 - 玩转盲盒 */
.fast-box{
    display: flex;
    padding: 0 10px;
    justify-content: space-between;
}

.fast-item{
    margin: 0 5px;
    background: white;
    width: 50%;
    box-shadow: 0 0 5px 3px rgba(165, 189, 251, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.fast-title{
    background-position: center;
    background-size: cover;
    height: 44px;
    line-height: 44px;
}

.fast-title p{
    margin: 0;
    background: rgba(0, 0, 0, .7);
    padding: 0 15px;
    font-size: 15px;
    font-weight: bold;
    color: white;
}

.fast-ul{
    padding: 10px 0;
    margin: 0;
    list-style: none;
}

.fast-ul li{
    position: relative;
    padding: 5px 10px 5px 40px;
}

.fast-ul li > h5,
.fast-ul li > p{
    margin: 0;
}

.fast-ul li > h5{
    color: #333;
    font-size: 14px;
    line-height: 20px;
}

.fast-ul li > p{
    color: #AFAFAF;
    font-size: 10px;
    line-height: 15px;
}

.fast-ul li > img{
    position: absolute;
    left: 10px;
    top: 50%;
    margin-top: -10px;
    width: 20px;
    height: 20px;
}

/* 首页 - 热门功能 */
.tool-box{
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
}

.tool-box a{
    display: block;
    margin: 0 5px;
    background: white;
    width: 33.33%;
    box-shadow: 0 0 5px 3px rgba(165, 189, 251, 0.2);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    
}

.tool-box a > p{
    margin: 0;
    font-size: 13px;
    color: #333;
}

.tool-box a > img{
    width: 43px;
}

/* 首页 - 热门推荐 */
.recommended{
    padding: 0 15px 30px;
}

.recommended-user{
    margin-top: 15px;
    position: relative;
    z-index: 1;
    padding: 10px 40px 10px 68px;
    background: white;
    box-shadow: 0 0 5px 3px rgba(165, 189, 251, 0.2);
    border-radius: 10px;
    min-height: 48px;
}

.recommended-user:first-child{
    margin: 0;
}

.recommended-user-cover{
    position: absolute;
    left: 10px;
    top: 10px;
    height: 48px;
    width: 48px;
    border-radius: 50%;
    background-position: center;
    background-size: cover;
}

.recommended-user-nickname{
    line-height: 25px;
    font-size: 16px;
    color: #333;
}

.recommended-user-nickname span{
    font-size: 14px;
}

.recommended-user-tags{
    padding-top: 2px;
}

.recommended-user-tags span{
    height: 18px;
    line-height: 18px;
    background: #D2DCF7;
    color: white;
    font-size: 12px;
    display: inline-block;
    border-radius: 8px;
    padding: 0 6px;
    vertical-align: top;
}

.recommended-user-tags i{
    font-size: 10px;
    font-weight: bold;
}

.recommended-icon{
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -14px;
    font-size: 20px;
    transition: all .6s;
}

.recommended-user.collapse-open > i.recommended-icon{
    transform:rotate(-180deg);
    -ms-transform:rotate(-180deg);
    -moz-transform:rotate(-180deg);
    -webkit-transform:rotate(-180deg);
    -o-transform:rotate(-180deg);
}

.recommended-text{
    background: #E8EEFD;
    border-radius: 0 0 10px 10px;
    margin-top: -10px;
    padding: 25px 10px 15px;
    font-size: 12px;
    color: #333;
}


/* footer */
.footer{
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background: white;
    height: 60px;
    z-index: 99;
    box-shadow: 0 0 5px 5px rgba(165, 189, 251, 0.2);
}

.footer-tabs{
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-around;
}

.footer-li{
    position: relative;
    width: 33.33%;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
    height: 60px;
    color: #333;
    font-size: 12px;
}

.footer-li p{
    margin: 0;
    line-height: 20px;
}

.footer-li img.footer-icon{
    width: 18px;
    height: 18px;
    margin-bottom: 2px;
    vertical-align: top;
}

.footer-li a{
    display: block;
}

.footer-li a.show{
    color: #976FFF;
}

.footer-li a::after{
    display: none;
}

.footer-round p{
    margin-top: 20px;
}

.footer-round span{
    position: absolute;
    display: inline-block;
    background: linear-gradient(to top, #976FFF, #7F4EFD);
    border:solid 4px white;
    width: 48px;
    height: 48px;
    line-height: 48px;
    border-radius: 50%;
    bottom: 20px;
    left: 50%;
    margin-left: -24px;
    box-shadow: 0 -4px 3px 3px rgba(165, 189, 251, 0.2);
}

.footer-round img.footer-icon{
    margin: 10px 0;
}

/* 订单查询 */
.order-banner{
    margin: 0;
    vertical-align: top;
    width: 100%;
}

.order-notice,
.order-hint{
    position: relative;
    background: white;
    margin: 15px;
    border-radius: 10px;
    box-shadow: 0 0 5px 5px rgba(165, 189, 251, 0.2);
    padding: 30px 15px;
}

.order-notice-text{
    color: #AFAFAF;
    font-size: 12px;
    line-height: 15px;
    padding-top: 20px;
}

.order-notice-text > span{
    color: #F50516;
}

.order-notice-submit{
    color: #976FFF;
    padding-top: 10px;
    font-size: 12px;
    line-height: 15px;
}

.order-notice{
    margin-top: 25px;
    padding-top: 53px;
}

.order-notice-title{
    background-image: url(../image/two_order_title.png);
    background-position: center;
    background-size: cover;
    height: 43px;
    line-height: 43px;
    text-align: center;
    width: 280px;
    margin-left: -140px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    top: -12px;
    left: 50%;
}

.order-form-input{
    position: relative;
    background: #EFEAFD;
    border:solid 1px #EDEDED;
    height: 40px;
    border-radius: 5px;
    padding-left: 80px;
    overflow: hidden;
}

.order-form-input label{
    background: #976FFF;
    color: white;
    position: absolute;
    left: 0;
    top: 0;
    height: 38px;
    line-height: 38px;
    width: 80px;
    font-size: 12px;
    text-align: center;
}

.order-form-input input{
    width: 100%;
    height: 38px;
    border: none;
    border-radius: 0;
    padding: 0 15px;
    box-sizing: border-box;
    background: transparent;
}

.order-form-input input::placeholder{
    color: rgba(151, 111, 255, .5);
}

.order-form-btn{
    text-align: center;
    padding: 20px 0 10px;
}

.order-form-btn button{
    width: 150px;
    height: 36px;
    border: none;
    border-radius: 18px;
    background: #976FFF;
    color: white;
    font-size: 14px;
}

.order-hint{
    margin-top: 0;
}

.order-hint::before,
.order-hint::after{
    position: absolute;
    height: 60px;
    width: 30px;
    top: -37px;
    content: " ";
    background-image: url(../image/two_order_before.png);
    background-size: cover;
}

.order-hint::before{
    left: 10%;
}

.order-hint::after{
    right: 10%;
}

/* 摆摊 */
.stall-user{
    background-image: url(../image/two_user_back_01.png);
    padding: 60px 25px;
    background-size: 100%;
    color: white;
}

.stall-user-info{
    position: relative;
    padding-left: 72px;
    min-height: 62px;
}

.stall-user-cover{
    position: absolute;
    width: 62px;
    height: 62px;
    background-size: cover;
    border-radius: 50%;
    border:solid 3px #EFEAFD;
    box-sizing: border-box;
    left: 0;
    top: 0;
}

.stall-user-nickname{
    font-size: 16px;
    line-height: 20px;
    padding: 9px 0;
}

.stall-user-out a{
    background: white;
    color: #7F4EFD;
    display: inline-block;
    line-height: 24px;
    padding: 0 10px;
    border-radius: 12px;
    font-size: 12px;
}

.stall-user-out a::after{
    display: none;
}

.stall-account{
    margin: -30px 15px 15px 15px;
    background: white;
    box-shadow: 0 0 5px 5px rgba(165, 189, 251, 0.2);
    padding: 15px;
    border-radius: 10px;
    background-image: url(../image/two_user_back_00.png);
    background-position: 70% 15px;
    background-repeat: no-repeat;
    background-size: auto 100%;
}

.stall-account-title{
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: #333;
}

.stall-account-title img{
    width: 20px;
    margin: 0 5px 0 0;
}

.stall-account-title a{
    color: #AFAFAF;
    font-size: 12px;
}

.stall-account-title a::after{
    display: none;
}

.stall-account-balance{
    padding: 5px 0;
    font-size: 23px;
    color: #976FFF;
    font-weight: bold;
}

.stall-account-statistics{
    color: #976FFF;
    font-size: 12px;
}

.stall-account-statistics span{
    color: #AFAFAF;
}

.stall-tool{
    margin: 15px;
    display: flex;
    justify-content: space-around;
    background: white;
    box-shadow: 0 0 5px 5px rgba(165, 189, 251, 0.2);
    padding: 15px 10px;
    border-radius: 10px;
}

.stall-tool a{
    display: block;
    text-align: center;
}

.stall-tool a::after{
    display: none;
}

.stall-tool img{
    width: 36px;
    margin: 0;
    vertical-align: top;
}

.stall-tool p{
    margin: 0;
    color: #333;
    padding-top: 5px;
}

.stall-footer{
    padding: 30px 15px;
    color: #CECCCC;
    font-size: 12px;
}

/* 弹出层 */
.lay-modal{
    background: white;
    padding: 15px;
    border-radius: 10px 10px 0 0;
}

.lay-modal-title{
    position: relative;
    line-height: 32px;
    padding: 0 32px;
    text-align: center;
    font-weight: bold;
    font-size: 15px;
}

.lay-modal-remove{
    position: absolute;
    left: 0;
    top: 0;
    font-size: 14px;
    width: 32px;
    text-align: center;
}

.lay-modal-form{
    border:solid 2px #000;
    margin: 20px 0;
    border-radius: 10px;
    padding: 5px;
}

.lay-modal-ul{
    padding: 0;
    margin: 0;
    list-style: none;
}

.lay-modal-ul li{
    position: relative;
    padding-left: 100px;
    border-bottom: solid 1px #F7F7F7;
    min-height: 40px;
}

.lay-modal-ul li:last-child{
    border: none;
}

.lay-modal-ul li label.lay-modal-form-label{
    position: absolute;
    left: 0;
    top: 0;
    width: 100px;
    line-height: 40px;
    padding-left: 10px;
}

.lay-modal-ul li label.lay-modal-form-label > span{
    color: red;
}

.lay-modal-form-radio{
    margin-top: 5px;
    margin-right: 10px;
}

.lay-modal-form-radio>input:checked+label:before{
    border-color: #02B313;
}

.lay-modal-form-radio>input:checked+label:after{
    background-color: #02B313;
}

.lay-modal-form-select{
    padding: 5px 0;
}

.lay-modal-form-select:not(.multiple):after{
    top: 50%;
    margin-top: -.15rem;
}

.lay-modal-form-select > select{
    border: none;
}

.lay-modal-form-input{
    height: 40px;
    font-size: 14px;
    border: none;
}

.lay-modal-form-inputs{
    display: flex;
    padding: 5px 0;
    align-items: center;
}

.lay-modal-form-inputs > input.input{
    width: 70px;
    text-align: center;
    border-radius: 6px;
    font-size: 13px;
    border-color: #D3D3D3;
}

.lay-modal-form-inputs span{
    color: #976FFF;
    padding: 0 10px;
}

.lay-modal-form-inputs > input.input::placeholder{
    font-size: 13px;
}

.lay-modal-form-input::placeholder{
    font-size: 14px;
}

.lay-modal-form-checkbox{
    padding: 9px 0;
}

.lay-modal-form-checkbox>input{
    display: none;
}

.lay-modal-form-checkbox>input + label{
    border:solid 2px #AFAFAF;
    display: inline-block;
    height: 22px;
    line-height: 18px;
    box-sizing: border-box;
    font-size: 10px;
    position: relative;
    padding-left: 22px;
    padding-right: 5px;
    border-radius: 11px;
    color: #AFAFAF;
}

.lay-modal-form-checkbox>input + label::before{
    position: absolute;
    left: 1px;
    top: 1px;
    height: 16px;
    width: 16px;
    content: " ";
    border-radius: 50%;
    background: #AFAFAF;
}

.lay-modal-form-checkbox>input:checked + label{
    border:solid 2px #02B313;
    padding-left: 5px;
    padding-right: 22px;
    color: #02B313;
}

.lay-modal-form-checkbox>input:checked + label::before{
    background: #02B313;
    left: calc(100% - 17px);
}

.lay-modal-form-tabs{
    padding: 0;
    text-align: center;
}

.lay-modal-form-tabs a{
    display: inline-block;
    height: 32px;
    width: 90px;
    line-height: 32px;
    color: #AFAFAF;
    font-size: 16px;
    margin: 5px;
    border-radius: 6px;
}

.lay-modal-form-tabs a::after{
    display: none;
}

.lay-modal-form-tabs a.active{
    background: #976FFF;
    color: white;
}

.upd-cover{
    text-align: center;
    padding: 20px 0;
}

.upd-cover-input{
    position: relative;
    display: inline-block;
    background: url(../image/upd-cover.png) no-repeat center;
    background-size: cover;
    height: 64px;
    width: 64px;
    line-height: 64px;
    border-radius: 50%;
    overflow: hidden;
}

.upd-cover-input i{
    color: white;
    font-size: 20px;
}

.upd-cover-input > input,
.upd-cover-input > span{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.upd-cover-input > input{
    opacity: 0;
    z-index: 2;
}

.upd-cover-input > span{
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.lay-modal-btn{
    padding-bottom: 30px;
    text-align: center;
}

.lay-modal-btn button{
    width: 100px;
    height: 35px;
    background-image: url(../image/two-lay-modal-btn.png);
    background-size: cover;
    background-position: center;
    padding-bottom: 5px;
    color: white;
    font-weight: bold;
    border: none;
    background-color: transparent;
}

.stall-codes{
    padding: 10px 15px 30px;
}

.stall-codes-tabs{
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.stall-codes-tabs a{
    display: inline-block;
    line-height: 34px;
    flex: 1;
    border-radius: 17px;
    font-size: 16px;
}

.stall-codes-tabs a::after{
    display: none;
}

.stall-codes-tabs a.active{
    background: white;
    color: #FE8BBB;
}

.stall-codes-content{
    padding-top: 15px;
}

.stall-code-img{
    vertical-align: top;
    max-width: 100%;
}

/* 欢迎弹出层 */
.layer-hello{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.layer-hello > .layui-m-layerbtn{
    text-align: center;
    margin: 15px;
    width: auto;
    background: rgba(152, 112, 255, .2);
    border: 0;
    border-radius: 10px;
    height: 42px;
    line-height: 42px;
    padding: 0;
    border:solid 1px rgba(152, 112, 255, 1);
}

.layer-hello > .layui-m-layerbtn span[yes]{
    color: rgba(152, 112, 255, 1);
    font-weight: bold;
}

.layer-hello-title{
    position: relative;
    padding: 10px 15px;
    text-align: center;
    line-height: 40px;
    font-size: 16px;
    font-weight: bold;
}

.layer-hello-content{
    line-height: 20px;
    padding: 0 15px 15px;
    color: #333;
}


/* 兼容pc */
@media screen and (min-width: 640px){
    .mian{
        margin: 0 auto;
        max-width: 580px;
        min-height: 100vh;
    }
    .footer{
        width: 580px;
        left: calc(50% - 290px);
    }
}

